package com.ssm.blog.util;

public class FilePOJO {
    private String name;//文件名
    private Long size;//文件大小
    private String url;//图片路径
    private String thumbnailUrl;//缩略图路径
    private String deleteUrl;//删除的地址
    private String deleteType = "DELETE";//删除按钮的样式

    public FilePOJO() {
    }

    public FilePOJO(String name, Long size, String url, String thumbnailUrl, String deleteUrl) {
        this.name = name;
        this.size = size;
        this.url = url;
        this.thumbnailUrl = thumbnailUrl;
        this.deleteUrl = deleteUrl;
    }

    //getter/setter略
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String thumbnailUrl) {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getDeleteUrl() {
        return deleteUrl;
    }

    public void setDeleteUrl(String deleteUrl) {
        this.deleteUrl = deleteUrl;
    }

    public String getDeleteType() {
        return deleteType;
    }

    public void setDeleteType(String deleteType) {
        this.deleteType = deleteType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
